//公共颜色值
$--color-primary: #409EFF;
$--color-success:#67C23A;
$--color-warning:#E6A23C;
$--color-danger:#F56C6C;
$--color-info:#909399;

$--color-bg:#00152a;
$--color-logo:#002140;
$--color-lightfont:#ffffff; 
$--color-bg-gray: #f0f2f5;

body,
html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,SimSun,sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
::-webkit-scrollbar-track {
	background: #f0f2f5;
}

::-webkit-scrollbar-thumb {
	border-radius: 3px;
	background: #ced0da;
}

::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

*,
:after,
:before {
	box-sizing: inherit;
}

ol,
ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

li {
	text-align: -webkit-match-parent;
}

div {
	display: block;
}

#app {
  height: 100%;
  background-color: $--color-bg-gray;
}

.sidebar {
  background-color: $--color-bg;
  box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
  width: 251px !important;
  .logo {
    background-color: $--color-logo;
    color: #fff;
    line-height: 60px;
    img {
      height: 32px;
      vertical-align: middle;
      display: inline-block;
    }
    h1 {
      font-size: 20px;
      display: inline-block;
      vertical-align: middle;
      margin: 0 0 0 12px;
      padding: 0;
      text-align: center;
    }
  }
  .el-menu {
    border-right: none;
    background-color: $--color-bg;
    .el-menu-item {
      color: #fff;
      &:hover,
      &:focus {
        background-color: $--color-primary;
      }
    }
    .el-submenu__title {
      color: #fff;
      &:hover,
      &:focus {
        background-color: $--color-bg;
      }
    }
  }
}

.sidebar-collapse {
  width: 64px !important;
  .logo {
    h1 {
      display: none;
    }
  }
}

.header {
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  * {
    line-height: 60px;
  }
  .sidebarToggle {
    font-size: 28px;
  }
  .header-action {
    margin-left: 12px;
  }
}

.float-right {
  float: right;
}

.breadcrumb {
  padding-bottom: 20px;
}

.pagination {
  margin-top: 20px;
  margin-bottom: 20px;
}

.text-primary {
  color: $--color-primary;
}
.text-success {
  color: $--color-success;
}
.text-warning {
  color: $--color-warning;
}
.text-danger {
  color: $--color-danger;
}
.text-info {
  color: $--color-info;
}

hr {
  height: 1px;
  border: none;
  border-top: 1px solid #ebeef5;
}
.el-row {
  margin-bottom: 20px;
  &:last-child {
    margin-bottom: 0;
  }
}